var http = require('http');
var app = require('express')();
var httpServer = http.createServer(app);

var student = require('./student/req');
var login = require('./login/req');
var payManage = require('./payManage/req');
var common = require('./common/req');
var project = require('./project/req');
var grade = require('./grade/req');
var settlement = require('./settlement/req');
var first = require('./first/req');
var company = require('./company/req');
var set = require('./set/req');

student.init(app);
login.init(app);
payManage.init(app);
common.init(app);
project.init(app);
grade.init(app);
settlement.init(app);
first.init(app);
company.init(app);
set.init(app);
httpServer.listen(3000, function () {
  console.log('HTTP Server is running on: http://localhost:%s', 3000);
})